Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class / DrawAnnotations Method / DrawAnnotations(GcGraphics,RectangleF,IList<AnnotationBase>,ViewState,RenderingCache,Boolean) Method
The GrapeCity.Documents.Drawing.GcGraphics on which to draw the annotations.
The draw bounds.
The list of annotations to draw.
The GrapeCity.Documents.Pdf.Layers.ViewState object.
The RenderingCache object used to cache objects created during rendering.
Indicates whether to ignore errors in PDF content stream during rendering.

In This Topic
    DrawAnnotations(GcGraphics,RectangleF,IList<AnnotationBase>,ViewState,RenderingCache,Boolean) Method
    In This Topic
    Draws specified annotations on a GrapeCity.Documents.Drawing.GcGraphics.

    Note that the specified annotations must belong to the current page.

    Syntax
    'Declaration
     
    Public Overloads Sub DrawAnnotations( _
       ByVal graphics As GcGraphics, _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal annotations As System.Collections.Generic.IList(Of AnnotationBase), _
       ByVal viewState As ViewState, _
       Optional ByVal renderingCache As RenderingCache, _
       Optional ByVal ignoreErrors As System.Boolean _
    ) 
    public void DrawAnnotations( 
       GcGraphics graphics,
       System.Drawing.RectangleF bounds,
       System.Collections.Generic.IList<AnnotationBase> annotations,
       ViewState viewState,
       RenderingCache renderingCache,
       System.bool ignoreErrors
    )

    Parameters

    graphics
    The GrapeCity.Documents.Drawing.GcGraphics on which to draw the annotations.
    bounds
    The draw bounds.
    annotations
    The list of annotations to draw.
    viewState
    The GrapeCity.Documents.Pdf.Layers.ViewState object.
    renderingCache
    The RenderingCache object used to cache objects created during rendering.
    ignoreErrors
    Indicates whether to ignore errors in PDF content stream during rendering.
    See Also